package cn.alex.sso.project.entity;

import cn.alex.sso.framework.core.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * 角色和应用关联表
 *
 * @author Alex
 * @TableName sys_role_client
 */
@Data
@AllArgsConstructor
@TableName(value = "sys_role_client")
public class SysRoleClient extends BaseEntity implements Serializable {
    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 应用ID
     */
    private Long clientId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}